package com.ruoyi.project.cms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 实习岗位对象 biz_post
 *
 * @author ruoyi
 * @date 2023-03-18
 */
public class BizPost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 实习岗位编号 */
    private Long id;

    /** 企业用户编号 */
    @Excel(name = "企业用户编号")
    private Long userId;

    /** 岗位名称 */
    @Excel(name = "岗位名称")
    private String name;

    /** 岗位需求 */
    @Excel(name = "岗位需求")
    private String require;

    /** 待遇 */
    @Excel(name = "待遇")
    private String salary;

    /**状态  0停用 1启用*/
    private Integer state;

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setRequire(String require)
    {
        this.require = require;
    }

    public String getRequire()
    {
        return require;
    }
    public void setSalary(String salary)
    {
        this.salary = salary;
    }

    public String getSalary()
    {
        return salary;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("name", getName())
            .append("require", getRequire())
            .append("salary", getSalary())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
